package com.cn.domain;

import java.util.HashSet;
import java.util.Set;

public class Customer {

	private int  cid;
	private String loginUsername;  //登录名
	private String password;            //登录密码
	private String truename;            //真实姓名
	private String email;         //邮箱
	private String address;             //地址
	private String phone;               //电话号码

	private String sex;                 //性别
	private String role;                //角色
	private String flag;                //状态
	//用户跟订单  一对多的关系
	private Set<Order> orderset = new HashSet<Order>();
	
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}

	public String getLoginUsername() {
		return loginUsername;
	}
	public void setLoginUsername(String loginUsername) {
		this.loginUsername = loginUsername;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTruename() {
		return truename;
	}
	public void setTruename(String truename) {
		this.truename = truename;
	}
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public Set<Order> getOrderset() {
		return orderset;
	}
	public void setOrderset(Set<Order> orderset) {
		this.orderset = orderset;
	}
	
	
    
}
